Тема |
---|
Programming |
Уровень |
Medium programmer |
Время для завершения |
15 minutes |
Авторы |
r-frank |
FreeCAD версия |
All |
Примеры файлов |
None |
Смотрите также |
None |
Power users have extended FreeCAD with various custom external workbenches that are not integrated into the core source code but are easy to install on an existing FreeCAD distribution. Here we will cover the installation methods for the different operating systems.
Note: starting from version 0.17, FreeCAD features an Addon Manager in the Tools → Addon Manager menu, that allows installing both macros and workbenches. The instructions below are only required if you wish to manually install a workbench. This may be necessary if for some reason the Addon Manager doesn't work but you have access to the workbench downloaded as a .zip package.
How to install additional workbenches and addons on Windows
Note: This method is possible but not necessary with the introduction of the Addon Manager. Nevertheless, the information here may still be useful to some.
Additional Recommendation for updating workbenches
On windows, when updating an already installed workbench, Windows keeps the old .py files as .pyc. Since this may lead to trouble, it is recommended to uninstall the workbench, restart FreeCAD and install the new version of the workbench.
How to install additional workbenches and addons on Linux
Adding the community-ppa within the ppa-manager.
Installing the workbenches via Synaptic Packet Manager.
$ sudo apt-get install git python-numpy python-pyside
$ mkdir ~/.FreeCAD/Mod
$ cd ~/.FreeCAD/Mod
$ git clone https://github.com/tomate44/CurvesWB.git
In FreeCAD you will now have a new workbench-entry called "CurvesWB". Once installed, use git to upgrade to the latest version:
$ cd ~/.FreeCAD/Mod/CurvesWB
$ git pull
$ rm *.pyc
Note: This method is possible but not necessary with the introduction of the Addon Manager. Nevertheless, the information here may still be useful to some.
How to install additional workbenches and addons on macOS
Note: This method is possible but not necessary with the introduction of the Addon Manager. Nevertheless, the information here may still be useful to some.
For the sake of this example, say you've chosen the Curves Workbench as the external workbench you want to install: